﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlServerMaintenanceSolution.Models;

namespace SqlServerMaintenanceSolution.Models
{
    public class DataBase : BaseModel
    {
        public string DatabaseName { get; set; }
        public decimal DatabaseSize { get; set; }
        public string DbStatus { get; set; }
        public string RecoveryModel { get; set; }
        public string FileSize { get; set; }
        public string SpaceUsed { get; set; }
        public string FreeSpace { get; set; }
        public string LogFileSize { get; set; }
        public string LogSpaceUsed { get; set; }
        public string LogFreeSpace { get; set; }
        public string DBFreespace { get; set; }
 
        public DataBase(string databaseName)
        {
            this.DatabaseName = databaseName;
        }

        public DataBase(string databaseName, decimal databaseSize, string dbstatus)
        {
            this.DatabaseName = databaseName;
            this.DatabaseSize = databaseSize;
            this.DbStatus = dbstatus;
        }

        public DataBase()
        { 
        
        }

    }
}
